package com.qf.agro.service;

import com.qf.agro.common.ResultInfo;
import com.qf.agro.pojo.SysUser;

/**
 * @author 10202
 * @version V1.0
 * @Project smart-agriculture-parent
 * @Package com.qf.agro.service
 * @Date 2023/5/22 10:27
 */
public interface SysUserService {
        ResultInfo login(String username,String password);

    ResultInfo getPage(Long pageNum, Long pageSize, String name);

    ResultInfo deleteUser(Integer userId);

    ResultInfo updateUser(SysUser sysUser);

    ResultInfo checkUsername(String username);

    ResultInfo insertUser(SysUser sysUser);
}
